//
//  UIImageView+DF.h
//  换换圈
//
//  Created by 艾柯斯 on 14-11-7.
//  Copyright (c) 2014年 艾柯斯. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImageView (DF)

+ (instancetype)imageViewWithName:(NSString*)imageName;

-(instancetype)initWithImageName:(NSString *)imageName;


- (CGSize)autoSize;

- (void)ShowImageToScreen;
- (void)showToScreen:(void (^)(UIView *backgroundView))willShow didShow:(void (^)(UIView *backgroundView))didShow ;
- (void)showImageToScreen:(void (^)(UIView* screenBackgroundView))completion;
- (void)hideImageForScreen;

@end
 